Context:component-scan> not picking up my @RequestMappings if handler mappings defined in XML?

I was missing something :D. Found this buried in the Spring's JavaDocs for DefaultAnnotationHandlerMapping.

I was missing something :D. Found this buried in the Spring's JavaDocs for DefaultAnnotationHandlerMapping: NOTE: If you define custom HandlerMapping beans in your DispatcherServlet context, you need to add a DefaultAnnotationHandlerMapping bean explicitly, since custom HandlerMapping beans replace the default mapping strategies. Added this to my config XML and now everything works.

I am not sure why your annotated Controller is not being picked up anymore, but I think your issue lies in the id you provide your SimpleUrlHandlerMapping. It should be handlerMapping.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions